﻿/*Generator by SRFrameworkEntity_Table.cst
on 2013/6/14 10:10:06
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WyUnity.Data.Query;
using WyUnity.Data.TableMapper;

namespace DAL_13_0.Entities
{
    [Map("sys_BillNumber")]
    public class SysBillNumber : TableBase<SysBillNumber>
    {
        [Map("ID", IsKeyField = true)]
        public System.String ID { get; set; }
        [Map("Ind", IsKeyField = true)]
        public System.Int32 Ind { get; set; }
        [Map("NumType")]
        public System.Int32 NumType { get; set; }
        [Map("Format")]
        public System.String Format { get; set; }
        public static FieldBase pID = new Field<SysBillNumber>(p => p.ID);
        public static FieldBase pInd = new Field<SysBillNumber>(p => p.Ind);
        public static FieldBase pNumType = new Field<SysBillNumber>(p => p.NumType);
        public static FieldBase pFormat = new Field<SysBillNumber>(p => p.Format);
    }

    [Map("sys_BillNumberCurNo")]
    public class SysBillNumberCurNo : TableBase<SysBillNumberCurNo>
    {
        [Map("ID", IsKeyField = true)]
        public System.String ID { get; set; }
        [Map("Key", IsKeyField = true)]
        public System.Int32 Key { get; set; }
        [Map("CurNo")]
        public System.Int32 CurNo { get; set; }
        public static FieldBase pID = new Field<SysBillNumberCurNo>(p => p.ID);
        public static FieldBase pKey = new Field<SysBillNumberCurNo>(p => p.Key);
        public static FieldBase pCurNo = new Field<SysBillNumberCurNo>(p => p.CurNo);
    }
}


